package com.kelaite.procurement.dto;

// Generated 2016-3-6 15:13:23 by Hibernate Tools 3.4.0.CR1

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class PurchaseOrderExecutionDTO {

	private Long id;

	private PurchaseOrderDTO tPurchaseOrder;

	private int orderNo;

	private boolean orderExecutionType;

	private Date confirmTime;

	private VendorDTO tVendor;

	private UserDTO tUser;

	private String doc1;

	private String doc2;

	private String doc3;

	private Date gmtCreateTime;

	private Date gmtUpdateTime;

	private String extraInfo;

	private String createdBy;

	private String updatedBy;

	private boolean isDelete;

	private Set<PurchaseOrderExecutionItemsDTO> tPurchaseOrderExecutionItems = new HashSet<PurchaseOrderExecutionItemsDTO>();

	public PurchaseOrderDTO gettPurchaseOrder() {
		return tPurchaseOrder;
	}

	public void settPurchaseOrder(PurchaseOrderDTO tPurchaseOrder) {
		this.tPurchaseOrder = tPurchaseOrder;
	}

	public VendorDTO gettVendor() {
		return tVendor;
	}

	public void settVendor(VendorDTO tVendor) {
		this.tVendor = tVendor;
	}

	public UserDTO gettUser() {
		return tUser;
	}

	public void settUser(UserDTO tUser) {
		this.tUser = tUser;
	}

	public PurchaseOrderExecutionDTO() {
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public int getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(int orderNo) {
		this.orderNo = orderNo;
	}

	public boolean isOrderExecutionType() {
		return orderExecutionType;
	}

	public void setOrderExecutionType(boolean orderExecutionType) {
		this.orderExecutionType = orderExecutionType;
	}

	public Date getConfirmTime() {
		return confirmTime;
	}

	public void setConfirmTime(Date confirmTime) {
		this.confirmTime = confirmTime;
	}

	public String getDoc1() {
		return doc1;
	}

	public void setDoc1(String doc1) {
		this.doc1 = doc1;
	}

	public String getDoc2() {
		return doc2;
	}

	public void setDoc2(String doc2) {
		this.doc2 = doc2;
	}

	public String getDoc3() {
		return doc3;
	}

	public void setDoc3(String doc3) {
		this.doc3 = doc3;
	}

	public Date getGmtCreateTime() {
		return gmtCreateTime;
	}

	public void setGmtCreateTime(Date gmtCreateTime) {
		this.gmtCreateTime = gmtCreateTime;
	}

	public Date getGmtUpdateTime() {
		return gmtUpdateTime;
	}

	public void setGmtUpdateTime(Date gmtUpdateTime) {
		this.gmtUpdateTime = gmtUpdateTime;
	}

	public String getExtraInfo() {
		return extraInfo;
	}

	public void setExtraInfo(String extraInfo) {
		this.extraInfo = extraInfo;
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public String getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}

	public boolean isDelete() {
		return isDelete;
	}

	public void setDelete(boolean isDelete) {
		this.isDelete = isDelete;
	}

	public Set<PurchaseOrderExecutionItemsDTO> gettPurchaseOrderExecutionItems() {
		return tPurchaseOrderExecutionItems;
	}

	public void settPurchaseOrderExecutionItems(
			Set<PurchaseOrderExecutionItemsDTO> tPurchaseOrderExecutionItems) {
		this.tPurchaseOrderExecutionItems = tPurchaseOrderExecutionItems;
	}

	@Override
	public String toString() {
		return "PurchaseOrderExecutionDTO [id=" + id + ", tPurchaseOrder="
				+ tPurchaseOrder + ", orderNo=" + orderNo
				+ ", orderExecutionType=" + orderExecutionType
				+ ", confirmTime=" + confirmTime + ", tVendor=" + tVendor
				+ ", tUser=" + tUser + ", doc1=" + doc1 + ", doc2=" + doc2
				+ ", doc3=" + doc3 + ", gmtCreateTime=" + gmtCreateTime
				+ ", gmtUpdateTime=" + gmtUpdateTime + ", extraInfo="
				+ extraInfo + ", createdBy=" + createdBy + ", updatedBy="
				+ updatedBy + ", isDelete=" + isDelete
				+ ", tPurchaseOrderExecutionItems="
				+ tPurchaseOrderExecutionItems + "]";
	}

}
